@layout("/common/_form.html",{js:["/assets/order/order_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="orderForm" lay-filter="orderForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">开始时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="starTime" name="starTime" placeholder="请输入开始时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">使用时长<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                        	<select name="howlong" lay-filter="howlong">
                                <option value="0">请选择时长</option>
                                @for(item in yue){
                                <option value="${item.id}">${item.name}</option>
                                @}
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">规格<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                        	<select name="gid" lay-filter="gg">
                                <option value="0">请选择规格</option>
                                @for(item in gg){
                                <option value="${item.id}">${item.name}</option>
                                @}
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">小区<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                        	<select name="sid" id="xq" lay-filter="xq">
                        	
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">仓格<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                        	<select name="cgId" id="cgId" lay-filter="cgId">
                                
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">联系方式<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="phone" name="phone" placeholder="请输入联系方式" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">姓名<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="username" name="username" placeholder="请输入姓名" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">身份证<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="idCard" name="idCard" placeholder="请输入身份证" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}